package com.wteam.dragon.shop.pojo.vo;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author 陈晓辉
 * @Date 2020/7/7 20:01
 */
@Getter
@Setter
public class SkuStockVo implements Serializable {
    private Long id;

    private Long productId;

    private String skuCode;

    @NotNull(message = "价格不能为空")
    private BigDecimal price;

    private Integer stock;

    private Integer lowStock;

    private String pic;

    private Long sale;

    private Integer lockStock;

    private String spData;
}
